<?php
require_once 'autoloader.php';
spl_autoload_register('autoloader');

$router = new system\Router();
$request = $router->getRequest();
$dispatcher = new system\Dispatcher($request);

echo $dispatcher->dispatch();
